package com.teen9g.infoplatformserver.service;

import com.github.pagehelper.PageInfo;
import com.teen9g.dto.CommentDTO;
import com.teen9g.vo.CommentVO;

public interface CommentService {
    String publishComment(CommentDTO commentDTO);

    String deleteComment(Integer commentId);

    String publishReply(CommentDTO commentDTO);

    PageInfo<CommentVO> getCommentTree(Integer relatedId, String relatedCategory, Integer pageNum, Integer pageSize, String orderBy);

    String likeChange(Integer commentId);

    Integer checkLike(Integer commentId, Integer userId);
}
